//
//  AlertLog.m
//  MyAlertLogBundle
//
//  Created by  Loadar on 13-2-17.
//  Copyright 2013 Newsoft. All rights reserved.
//

#import "AlertLog.h"


@implementation AlertLog

- (id)init
{
	self = [super init];
	if (self) {
		logName = @"Alert Log";
	}
	return self;
}
- (void)dealloc
{
	if (logName != nil) {
		[logName release];
		logName = nil;
	}
	[super dealloc];
}

- (NSString*)getLogName
{
	return logName;//aaa
}

- (void)showLog:(NSString*)logMessage
{
	NSLog(@"Log Name:[%@], Print log[%@]", logName, logMessage);
	NSRunAlertPanel(@"[Bundle Info]", @"[Print Log: %@]", @"OK", nil, nil, logMessage);

}


@end
